home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 3.iso / toolbox / src / demos / audio / Makefile < prev    next >
Makefile  |  1996-11-11  |  1KB  |  43 lines

  1. SHELL    = /bin/sh
  2.  
  3. LIBC++  = /usr/lib/libC.so
  4. LIBINVENTOR= /usr/lib/libInventor.so
  5.  
  6. all:
  7.     if [ -r ${LIBC++} -a -r ${LIBINVENTOR} ]  ;   then \
  8.         (cd drive ; $(MAKE) ); \
  9.     else     \
  10.         echo ========== ; \
  11.         echo \ \ \ \  No C++ and/or Inventor library\(s\) installed--cannot compile drive ; \
  12.         echo \ \ \ \  check to see which libraries--/usr/lib/{libC.a,libInventor.a} ; \
  13.         echo \ \ \ \  are not installed and then get/load the \"c++\" and/or \"inventor_dev\" software option\(s\) ; \
  14.         echo ========== ; \
  15.     fi
  16.  
  17.     if [ -r ${LIBC++} ]  ;   then \
  18.         (cd amesh ; $(MAKE) ) ; \
  19.         else     \
  20.         echo ========== ; \
  21.         echo \ \ \ \  No C++ library installed--cannot compile amesh ; \
  22.         echo \ \ \ \  get/load the \"c++\" software option ; \
  23.         echo ========== ; \
  24.     fi
  25.  
  26.     cd ameshC ; $(MAKE)
  27.     cd bz; $(MAKE)
  28.     cd synthia; $(MAKE)
  29.  
  30. clean:
  31.     cd amesh; $(MAKE) clean
  32.     cd ameshC; $(MAKE) clean
  33.     cd bz; $(MAKE) clean
  34.     cd drive; $(MAKE) clean
  35.     cd synthia; $(MAKE) clean
  36.  
  37. clobber:
  38.     cd amesh; $(MAKE) clobber
  39.     cd ameshC; $(MAKE) clobber
  40.     cd bz; $(MAKE) clobber
  41.     cd drive; $(MAKE) clobber
  42.     cd synthia; $(MAKE) clobber
  43.